package me.firstapp.service.weixin.product;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.product.ProductCategory;

public interface ProductCategoryService {

	Page<ProductCategory> findProductCategoryPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType);

	List<ProductCategory> findProductCategorys();

	List<ProductCategory> findAll();

	ProductCategory findById(Long id);

	ProductCategory findByTag(String tag);

	ProductCategory executeAdd(String name, String imageUrl, String description, Integer sort, String tag);

	ProductCategory executeUpdate(Long id, String name, String imageUrl, String description, Integer sort,
			Integer status, String tag);
}
